package io.lkt.modules.sys.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.lkt.modules.sys.entity.BArticleInfoEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 视频信息表
 * 
 * @author hyl
 * @email dustwas@163.com
 * @date 20200121
 */
@Mapper
public interface BVideoInfoDao extends BaseMapper<BArticleInfoEntity> {
    Integer queryTotal(Map<String, Object> map);

    List<BArticleInfoEntity> queryList(Map<String, Object> map);

    List<BArticleInfoEntity> informArticel(Map<String, Object> map);

    Integer informArticelTotal(Map<String, Object> map);

    Integer titleTotal(@Param("articleTitle") String articleTitle, @Param("brandId") String brandId);

    void setNullArticleBrandId(@Param("id") Integer id);

    void setNullArticleTypeId(@Param("id") Integer id);
}